package com.shenzhen.citizen.bean;

import android.graphics.Bitmap;

public class History {

	String url;
	String name;
	Bitmap bitmap;
	
	@Override
	public boolean equals(Object obj) {
		History other = (History) obj;
		if(url.equals(other.url)){
			return true;
		}
		return false;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Bitmap getBitmap() {
		return bitmap;
	}
	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}
	@Override
	public String toString() {
		return "History [bitmap=" + bitmap + ", name=" + name + ", url=" + url
				+ "]";
	}
	public History(String url, String name, Bitmap bitmap) {
		super();
		this.url = url;
		this.name = name;
		this.bitmap = bitmap;
	}
	public History() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
